package com.hliushi.redis;

import com.hliushi.redis.utils.IDWorker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

/**
 * @author llhuang10
 * @date 2021/8/14 14:04
 */
@SpringBootApplication
public class TaoBaoDrawApplication {

    public static void main(String[] args) {
        SpringApplication.run(TaoBaoDrawApplication.class, args);
    }


    @Bean
    public IDWorker getBean() {
        return new IDWorker(1, 1);
    }
}
